package com.mlnx.data.pojo.vo;

import lombok.Data;

@Data
public class SugarDayVo implements Comparable<SugarDayVo> {
    private Long day;

    private String dawn;//凌晨

    private String empty;//空腹

    private String beforeBreakfast;//早餐前

    private String afterBreakfast;//早餐后

    private String beforeLunch;//中餐前

    private String afterLunch;//中餐后

    private String beforeDinner;//晚餐前

    private String afterDinner;//晚餐后


    @Override
    public int compareTo(SugarDayVo o) {
        if (o.getDay() > this.day)
            return 1;
        else if (o.getDay() < this.day)
            return -1;
        else
            return 0;
    }
}
